﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace ITS.Infrastructure.Constants
{
    public static class CommonConstants
    {
        public const int DefaultPageSize = 15;
        public const short SelectAll = -1;
        public static readonly string DefaultWebLanguage = ConfigurationManager.AppSettings["DefaultWebLanguage"];
    }
    public static class Roles
    {
        public static readonly string Administrator = "Administrator";
        public static readonly string Manager = "Manager";
        public static readonly string JSCare = "JobSeeker Care";
        public static readonly string EPCare = "Employer Care";
    }
    public static class PageNames
    {
        public static readonly string JobSeekerHomePage = "JobSeekerHomePage";
        public static readonly string JobSeekerAdvancedResult = "JobSeekerAdvancedResult";
    }

    public static class EmailTitles
    {
        public static readonly string JSCare = "VietnamGeeks.com Support";
        public static readonly string EPCare = "VietnamGeeks.com Support";
        public static readonly string Manager = "Geeks Special Announcement";
    }

    public static class SessionNames
    {
        public static readonly string CaptchaString = "CaptchaString";
        public static readonly string JKAccountObject = "JKAccountObject";
        public static readonly string EPAccountObject = "EPAccountObject";
        public static readonly string UserSessionModel = "UserSessionModel";
        public static readonly string EmailMbrSearch = "EmailMbrSearch";
        public static readonly string ManagerEmailMailingList = "ManagerEmailMailingList";
        public static readonly string SavedURL = "SavedURL";
        public static readonly string SearchEPJSViewModel = "SearchEPJSViewModel";
    }

    public static class ParsingParamPage
    {
        public const string ViewOrder = "ViewOrder";
        public const string SearchOrderResult = "SearchOrderResult";
    }

    public static class FolderFlags
    {
        public const byte None = 0;
        public const byte InReview = 1;
        public const byte ContactUser = 2;
    }

    public static class OrderSortingField
    {
        public const int ItemDesc = 0;
        public const int PaymentDate = 1;
        public const int OrderExpiredDate = 2;
    }
    public static class SortingOrders
    {
        public const int Asc = 0;
        public const int Desc = 1;
    }
}
